@echo off
echo i am run.bat
echo run all

rem call redis-server-6379.bat
rem "redis-server-6380"表示打开的cmd窗口名字；/k表示打开的cmd窗口在执行完命令后保存打开状态，如果希望执行完就关闭窗口用/c

start "delSome" cmd /c call F:\project\download\bat\delSome.bat

rem start "diyjmeter" cmd /k call F:\project\download\bat\diyjmeter.bat
start "redis-server-6379" cmd /k call F:\project\download\bat\redis-server-6379.bat
start "redis-server-6380" cmd /k call F:\project\download\bat\redis-server-6380.bat
start "redis-server-6381" cmd /k call F:\project\download\bat\redis-server-6381.bat

start "zkServer" cmd /k call F:\project\download\bat\zkServer.bat
start "kafka-server" cmd /k call F:\project\download\bat\kafka-server.bat
start "elasticsearch" cmd /k call F:\project\download\elasticsearch-7.9.2\bin\elasticsearch.bat
start "logstash" cmd /k call F:\project\download\bat\logstash.bat
start "kibana" cmd /k call F:\project\download\kibana-7.9.2-windows-x86_64\bin\kibana.bat

start "apollo" cmd /c call F:\project\download\bat\apollo.bat

start "mqnamesrv" cmd /c call F:\project\download\bat\mqnamesrv.bat
start "mqbroker" cmd /c call F:\project\download\bat\mqbroker.bat
start "rocketmq-console" cmd /c call F:\project\download\bat\rocketmq-console.bat

start "xxl-job-admin" cmd /c call F:\project\download\bat\xxl-job-admin.bat

start "consul" cmd /k call F:\project\download\bat\consul.bat

start "seata" cmd /k call F:\project\download\seata-1.5.1\bin\seata-server.bat

rem start "redis-cli-6379" cmd /k call F:\project\download\bat\redis-cli-6379.bat
rem /T timeout 指定等候的秒数。有效范围从 -1 到 99999 秒
timeout /t 180
start "apollo" cmd /c call F:\project\download\bat\apollo.bat
echo over